<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
  <head>
  	<base href="<%=basePath%>"/>
	<link href="resources/bootstrap/css/bootstrap.min.css" rel="stylesheet">  
	<script src="resources/jquery/jquery.min.js"></script>  
	<script src="resources/bootstrap/js/bootstrap.min.js"></script>
  </head>
  <body>
    <form action="yourservlet" method="post">
    <input type="submit" value="submit" />
    </form>
    
    <img alt="qq" src="resources/images/qq.jpg">
  </body>
</html>
